<%= error_messages_for 'worklog' %>
<% require_bundle :dynarch_calendar %>

<!--[form:worklog]-->
<tr>
  <td>Started</td>
  <td></td>
  <td>Project</td>
  <td>Duration</td>
</tr>
<tr>
 <td><%= dynarch_date_select 'worklog', 'done_at' %></td>
 <td><%= time_select('worklog', 'done_at', :minute_step => 15) %></td>
 <td><%= collection_select("worklog", "assignment_id", current_user.assignments, "id", "project_full", {:include_blank => true}) %></td>
 <td><%= text_field 'worklog', 'duration', "size" => 4 %></td>
</tr>
<tr>
 <td>Description:</td>
</tr>
<tr>
 <td colspan="3"><%= text_area 'worklog', 'description', "cols" => 85, "rows" => 4 %></td>
</tr>
<!--[eoform:worklog]-->
